import 'package:get/get.dart';
import '../../../core/models/exercise_info.dart';

/// 锻炼页面状态
class ExerciseState {
  /// 所有锻炼类型
  RxList<ExerciseInfo> allExerciseTypes = <ExerciseInfo>[].obs;
  
  /// 当前显示的锻炼类型
  RxList<ExerciseInfo> displayedExerciseTypes = <ExerciseInfo>[].obs;
  
  /// 当前选中的触发类型
  RxString selectedTriggerType = ''.obs;
  
  /// 搜索关键词
  RxString searchKeyword = ''.obs;
  
  /// 是否显示GPS运动
  RxBool showGpsOnly = false.obs;
  
  /// 是否正在加载
  RxBool isLoading = false.obs;
}
